package net.ljh.service;

import net.ljh.bean.Websiteinfo;
import net.ljh.mapper.WebinfoMapper;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;

import javax.annotation.Resource;

@Service
public class WebinfoService {

    @Resource
    WebinfoMapper webinfoMapper;

    public Websiteinfo find(int id){
        Websiteinfo websiteinfo=webinfoMapper.find(id);
        return websiteinfo;
    }

    public void update(Websiteinfo websiteinfo){
        webinfoMapper.update(websiteinfo);


    }
}
